package com.tujh.android.designpatterns.Builder;

/**
 * Created by TUJH on 2016/10/25.
 */
public class ThinBuilder implements Builder {

    private Product mProduct = new Product();

    @Override
    public void buildHead() {
        mProduct.addPart("Head : Thin Head");
    }

    @Override
    public void buildBody() {
        mProduct.addPart("Body : Thin Body");
    }

    @Override
    public void buildHand() {
        mProduct.addPart("Hand : Thin Hand");
    }

    @Override
    public void buildFeet() {
        mProduct.addPart("Feet : Thin Feet");
    }

    @Override
    public Product getProduct() {
        return mProduct;
    }
}
